package com.tamecode.bean.anno;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ContentTest {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("bean/chap5-10/*.xml");
        TestService bean = context.getBean(TestService.class);
        System.out.println(bean);
    }

}
